package com.edu.orderservice.client.impl;

import com.edu.commonutils.R;
import com.edu.commonutils.user.EduCourseOrder;
import com.edu.orderservice.client.EduCourseClient;
import org.springframework.stereotype.Component;

/**
 * @ClassName CourseImpl
 * @date 2022/9/26 20:01
 * @Version 1.0
 */
@Component
public class CourseImpl implements EduCourseClient {
    @Override
    public EduCourseOrder getCourseInfoDto(String courseId) {
        return null;
    }

    @Override
    public R buyId(String id) {
        return R.error().message("添加购买数失败");
    }
}
